Repository navigation
Release proxbox-api 0.0.33.post1: typed Proxmox ISO download route - #280
Merged
Merged
Conversation
Adds POST /cloud/storage/download-url, a typed, audited route that starts a certificate-verified Proxmox ISO download from a URL on one persisted endpoint. The runtime-generated Proxmox proxy stays read-only. The request is validated strictly (HTTPS without userinfo or a non-443 port, an .iso filename, a checksum matched to sha256 or sha512, no extra fields). The endpoint write gate applies, and the URL hostname must appear exactly in the netbox-proxbox storage_download_allowed_hosts setting; an empty list disables downloads. Errors use stable reason codes with bounded, query-redacted detail, and the audit log records only the URL host. Node-interface synchronization now skips cluster nodes that the cluster status reports as offline and records a node_offline stage warning, so one offline node no longer fails the network-interfaces stage for the whole cluster. Contributed by the community. There is no backend database migration and no dependency change. The paired release is netbox-proxbox 0.0.33.post1; deploy this backend first. Co-authored-by: Emerson Felipe <emerson@netdevopsbr.com> Co-committed-by: Emerson Felipe <emerson@netdevopsbr.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds POST /cloud/storage/download-url, a typed, audited route that starts a certificate-verified Proxmox ISO download from a URL on one persisted endpoint. The runtime-generated Proxmox proxy stays read-only. The request is validated strictly (HTTPS without userinfo or a non-443 port, an .iso filename, a checksum matched to sha256 or sha512, no extra fields). The endpoint write gate applies, and the URL hostname must appear exactly in the netbox-proxbox storage_download_allowed_hosts setting; an empty list disables downloads. Errors use stable reason codes with bounded, query-redacted detail, and the audit log records only the URL host.
Node-interface synchronization now skips cluster nodes that the cluster status reports as offline and records a node_offline stage warning, so one offline node no longer fails the network-interfaces stage for the whole cluster. Contributed by the community.
There is no backend database migration and no dependency change. The paired release is netbox-proxbox 0.0.33.post1; deploy this backend first.